package cn.zhaozhiqi.article.service;

import cn.zhaozhiqi.article.domain.ArticleType;
import cn.zhaozhiqi.article.query.ArticleTypeQuery;
import cn.zhaozhiqi.article.vo.ArticleTypeTreeVO;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IArticleTypeService {
    ArticleType getByID(Long id);

    List<ArticleType> getAll();

    void addData(ArticleType articleType);

    void updateByID(ArticleType articleType);

    void deleteByID(Long id);

    PageInfo<ArticleType> articleTypeLimit(ArticleTypeQuery query);

    void batchdelete(List<Long> ids);

    List<ArticleTypeTreeVO> tree();
}
